export interface PageParams {
  page: number
  pageSize: number
  date?: string
  type?: number
  level?: number | undefined
}

export interface ApiResponse<T> {
  code: number
  data: T
  message?: string
}

// Add specific params interfaces for different API calls
export interface CouponListParams extends Pick<PageParams, 'page' | 'pageSize'> {
  level?: number
}

export interface IntegralListParams extends Pick<PageParams, 'page' | 'pageSize'> {
  level?: number
} 